package com.superdp.service;

import com.superdp.dto.Result;
import com.superdp.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 */
public interface IBlogService extends IService<Blog> {


    Result queryHotBlog(int current);

    Result queryById(Long id);

    Result likeBlog(Long id);

    Result queryBlogLikes(Long id);

    Result saveBlog(Blog blog);

    Result queryBlogWithFollow(Long max, Integer offset);
}
